#pragma once
#include "Game.h"
#include "HavokWorld.h"
#include "ColourHelper.h"
#include "MyString.h"
#include "Level.h"
#include "DominoPlayer.h"
#include "Domino.h"


class PhysicsGame:
	public Game
{
public:
	PhysicsGame(void);
	virtual ~PhysicsGame(void);

	Level *level;
	DominoPlayer *player;
	Domino *domino;

	void Init();
	void Update();
	void Render();

	void InitLevel();
};

class ThePhysicsGame
{
public:

	static PhysicsGame& Get()
	{
		if(physicsGame == NULL)
		{
			physicsGame = new PhysicsGame();
		}

		return *physicsGame;
	}

	static void Kill()
	{
		if(physicsGame)
		{
			delete physicsGame;
			physicsGame = NULL;
		}
	}
private:

	ThePhysicsGame(){}
	static PhysicsGame *physicsGame;

};
